/**
 * Copyright (c) 2006-2012 Las Venturas Playground, LVP Mineground
 *
 * This program is free software: you can redistribute it and/or modify it under the terms of the
 * GNU General Public License as published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
 * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package mineground.core;

/**
 * This enum describes the threads available within the Mineground server, their uses, limitations
 * and considerations. The current sub-set of threads has been carefully selected, and before
 * creating a new one, verify with a lead developer whether an existing thread may be used for the
 * feature you are trying to implement.
 */
public enum MessageLoopThread {
    /**
     * The Server Thread is the thread on which we have to communicate with the "native" side, i.e.
     * the Minecraft server, such as Bukkit. Commands to players, configuration changes and most
     * non-internal actions will have to occur on this thead.
     * 
     * However, the Server Thread is also performance critical. Large or long-running pieces of code
     * must not be ran on this thread.
     */
    ServerThread,
    
    /**
     * 
     * 
     * 
     */
    GameThread,
    
    /**
     * 
     * 
     * 
     */
    IOThread
}
